package com.cssw.fyzb.tps.util;

import com.alipay.api.AlipayResponse;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: chenchao
 * @Date: 2020/8/3 15:28
 */
public class AliPayKit {

    public static Map getResponseParam(AlipayResponse response) {
        Map map = new HashMap();
        map.put("code",response.getCode());
        map.put("sub_code",response.getSubCode());
        map.put("msg",response.getMsg());
        map.put("sub_msg",response.getSubMsg());
        return map;
    }


}
